﻿using MyCompany.MyProject.Model.Models;
using MyCompany.MyProject.Repository.Base;

namespace MyCompany.MyProject.Repository;

public interface IRoleModulePermissionRepository:IBaseRepository<RoleModulePermission>
{
    Task<List<RoleModulePermission>> RoleModuleMaps();
    /// <summary>
    /// 批量更新菜单与接口的关系
    /// </summary>
    /// <param name="permissionId">菜单主键</param>
    /// <param name="moduleId">接口主键</param>
    /// <returns></returns>
    Task UpdateModuleId(long permissionId, long moduleId);
}
